home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 11 code / The NetWork Project.sea / The NetWork Project / Examples (Sources) / NetSim / generic.p < prev    next >
MacBinary  |  1992-07-15  |  8.8 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert ZX81 Sinclair BASIC (image/sinclairBASIC) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Jul 15 16:25:39 1992, modified Wed Jul 15 16:25:39 1992, creator 'MPS ', type ASCII, 7868 bytes "generic.p" , at 0x1f3c 830 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 67 65 6e 65 72 69 | 63 2e 70 00 00 00 00 00 |..generi|c.p.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 1e bc 00 | 00 03 3e a6 8a 3a 43 a6 |........|..>..:C.|
|00000060| 8a 3a 43 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.:C.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c0 23 00 00 |........|.....#..|
|00000080| 09 0d 7b a9 20 47 2e 20 | 53 61 77 69 74 7a 6b 69 |..{. G. |Sawitzki|
|00000090| 2c 20 53 74 61 74 4c 61 | 62 20 48 65 69 64 65 6c |, StatLa|b Heidel|
|000000a0| 62 65 72 67 20 31 39 38 | 36 2d 31 39 38 39 7d 0d |berg 198|6-1989}.|
|000000b0| 0d 7b 63 6f 6e 74 61 69 | 6e 73 20 47 65 6e 65 72 |.{contai|ns Gener|
|000000c0| 69 63 20 65 76 65 6e 74 | 20 68 61 6e 64 6c 65 72 |ic event| handler|
|000000d0| 73 20 61 6e 64 20 68 69 | 67 68 65 72 20 6c 65 76 |s and hi|gher lev|
|000000e0| 65 6c 20 66 75 6e 63 74 | 69 6f 6e 73 7d 0d 7b 31 |el funct|ions}.{1|
|000000f0| 2f 31 39 2f 39 31 20 32 | 31 3a 34 32 3a 35 38 09 |/19/91 2|1:42:58.|
|00000100| 67 73 09 72 65 6d 6f 76 | 65 64 20 69 6e 69 74 6d |gs.remov|ed initm|
|00000110| 65 6e 75 73 2c 20 64 72 | 61 77 6d 65 6e 75 62 61 |enus, dr|awmenuba|
|00000120| 72 20 66 72 6f 6d 20 73 | 65 74 75 70 74 68 65 6d |r from s|etupthem|
|00000130| 65 6e 75 73 7d 0d 7b 31 | 33 2e 32 2e 31 39 38 38 |enus}.{1|3.2.1988|
|00000140| 20 32 33 3a 30 35 3a 31 | 35 20 55 68 72 09 67 73 | 23:05:1|5 Uhr.gs|
|00000150| 09 63 75 74 2f 63 6f 70 | 79 c9 20 69 6e 63 6c 75 |.cut/cop|y. inclu|
|00000160| 64 65 64 7d 0d 0d 09 55 | 4e 49 54 20 47 65 6e 65 |ded}...U|NIT Gene|
|00000170| 72 69 63 3b 0d 09 49 4e | 54 45 52 46 41 43 45 0d |ric;..IN|TERFACE.|
|00000180| 09 09 75 73 65 73 20 4d | 61 63 55 6e 69 74 73 2c |..uses M|acUnits,|
|00000190| 53 74 64 54 6f 6f 6c 73 | 3b 0d 0d 09 43 4f 4e 53 |StdTools|;...CONS|
|000001a0| 54 20 20 20 20 7b 20 4d | 65 6e 75 20 4e 75 6d 62 |T { M|enu Numb|
|000001b0| 65 72 73 7d 0d 09 09 6d | 41 70 70 6c 65 20 3d 20 |ers}...m|Apple = |
|000001c0| 31 3b 09 20 20 20 20 20 | 7b 20 41 70 70 6c 65 20 |1;. |{ Apple |
|000001d0| 6d 65 6e 75 20 49 44 2e | 20 7d 0d 09 09 6d 46 69 |menu ID.| }...mFi|
|000001e0| 6c 65 20 3d 20 32 3b 09 | 20 20 20 20 20 7b 20 46 |le = 2;.| { F|
|000001f0| 69 6c 65 20 6d 65 6e 75 | 20 49 44 2e 20 7d 0d 09 |ile menu| ID. }..|
|00000200| 09 6d 45 64 69 74 20 3d | 20 33 3b 09 20 20 20 20 |.mEdit =| 3;. |
|00000210| 20 7b 20 45 64 69 74 20 | 6d 65 6e 75 20 49 44 2e | { Edit |menu ID.|
|00000220| 20 7d 0d 0d 70 72 6f 63 | 65 64 75 72 65 20 47 65 | }..proc|edure Ge|
|00000230| 6e 65 72 69 63 41 70 70 | 6c 65 20 28 74 68 65 69 |nericApp|le (thei|
|00000240| 74 65 6d 3a 20 69 6e 74 | 65 67 65 72 29 3b 0d 0d |tem: int|eger);..|
|00000250| 70 72 6f 63 65 64 75 72 | 65 20 53 65 74 55 70 54 |procedur|e SetUpT|
|00000260| 68 65 4d 65 6e 75 73 3b | 0d 70 72 6f 63 65 64 75 |heMenus;|.procedu|
|00000270| 72 65 20 47 65 6e 65 72 | 69 63 44 72 61 67 20 28 |re Gener|icDrag (|
|00000280| 74 68 65 45 76 65 6e 74 | 3a 20 45 76 65 6e 74 72 |theEvent|: Eventr|
|00000290| 65 63 6f 72 64 3b 20 74 | 68 65 57 69 6e 64 6f 77 |ecord; t|heWindow|
|000002a0| 3a 20 57 69 6e 64 6f 77 | 50 74 72 29 3b 0d 50 52 |: Window|Ptr);.PR|
|000002b0| 4f 43 45 44 55 52 45 20 | 47 65 6e 65 72 69 63 4d |OCEDURE |GenericM|
|000002c0| 6f 75 73 65 64 6f 77 6e | 20 28 74 68 65 45 76 65 |ousedown| (theEve|
|000002d0| 6e 74 20 3a 20 45 76 65 | 6e 74 72 65 63 6f 72 64 |nt : Eve|ntrecord|
|000002e0| 3b 20 74 68 65 57 69 6e | 64 6f 77 20 3a 20 57 69 |; theWin|dow : Wi|
|000002f0| 6e 64 6f 77 50 74 72 29 | 3b 0d 50 52 4f 43 45 44 |ndowPtr)|;.PROCED|
|00000300| 55 52 45 20 47 65 6e 65 | 72 69 63 47 72 6f 77 77 |URE Gene|ricGroww|
|00000310| 69 6e 64 6f 77 20 28 74 | 68 65 45 76 65 6e 74 20 |indow (t|heEvent |
|00000320| 3a 20 45 76 65 6e 74 72 | 65 63 6f 72 64 3b 20 74 |: Eventr|ecord; t|
|00000330| 68 65 57 69 6e 64 6f 77 | 20 3a 20 57 69 6e 64 6f |heWindow| : Windo|
|00000340| 77 50 74 72 29 3b 0d 7b | 48 61 6e 64 6c 65 20 6d |wPtr);.{|Handle m|
|00000350| 6f 75 73 65 64 6f 77 6e | 20 69 6e 20 67 72 6f 77 |ousedown| in grow|
|00000360| 7d 0d 50 52 4f 43 45 44 | 55 52 45 20 47 65 6e 65 |}.PROCED|URE Gene|
|00000370| 72 69 63 5a 6f 6f 6d 57 | 69 6e 64 6f 77 28 66 77 |ricZoomW|indow(fw|
|00000380| 72 65 74 75 72 6e 63 6f | 64 65 3a 69 6e 74 65 67 |returnco|de:integ|
|00000390| 65 72 3b 74 68 65 45 76 | 65 6e 74 20 3a 20 45 76 |er;theEv|ent : Ev|
|000003a0| 65 6e 74 72 65 63 6f 72 | 64 3b 74 68 65 57 69 6e |entrecor|d;theWin|
|000003b0| 64 6f 77 20 3a 20 57 69 | 6e 64 6f 77 50 74 72 29 |dow : Wi|ndowPtr)|
|000003c0| 3b 0d 0d 50 52 4f 43 45 | 44 55 52 45 20 47 65 6e |;..PROCE|DURE Gen|
|000003d0| 65 72 69 63 47 6f 61 77 | 61 79 20 28 56 41 52 20 |ericGoaw|ay (VAR |
|000003e0| 74 68 65 57 69 6e 64 6f | 77 20 3a 20 57 69 6e 64 |theWindo|w : Wind|
|000003f0| 6f 77 50 74 72 29 3b 0d | 0d 50 52 4f 43 45 44 55 |owPtr);.|.PROCEDU|
|00000400| 52 45 20 47 65 6e 65 72 | 69 63 41 63 74 69 76 61 |RE Gener|icActiva|
|00000410| 74 65 20 28 74 68 65 57 | 69 6e 64 6f 77 20 3a 20 |te (theW|indow : |
|00000420| 57 69 6e 64 6f 77 50 74 | 72 29 3b 0d 0d 50 52 4f |WindowPt|r);..PRO|
|00000430| 43 45 44 55 52 45 20 47 | 65 6e 65 72 69 63 44 65 |CEDURE G|enericDe|
|00000440| 61 63 74 69 76 61 74 65 | 20 28 74 68 65 57 69 6e |activate| (theWin|
|00000450| 64 6f 77 20 3a 20 57 69 | 6e 64 6f 77 50 74 72 29 |dow : Wi|ndowPtr)|
|00000460| 3b 0d 0d 70 72 6f 63 65 | 64 75 72 65 20 47 65 6e |;..proce|dure Gen|
|00000470| 65 72 69 63 55 70 64 61 | 74 65 20 28 74 68 65 57 |ericUpda|te (theW|
|00000480| 69 6e 64 6f 77 3a 20 57 | 69 6e 64 6f 77 50 74 72 |indow: W|indowPtr|
|00000490| 29 3b 0d 70 72 6f 63 65 | 64 75 72 65 20 47 65 6e |);.proce|dure Gen|
|000004a0| 65 72 69 63 44 69 73 6b | 45 76 65 6e 74 20 28 4d |ericDisk|Event (M|
|000004b0| 65 73 73 61 67 65 3a 20 | 4c 6f 6e 67 69 6e 74 29 |essage: |Longint)|
|000004c0| 3b 0d 70 72 6f 63 65 64 | 75 72 65 20 75 70 64 61 |;.proced|ure upda|
|000004d0| 74 65 63 75 72 73 6f 72 | 3b 0d 70 72 6f 63 65 64 |tecursor|;.proced|
|000004e0| 75 72 65 20 47 65 6e 65 | 72 69 63 4b 65 79 64 6f |ure Gene|ricKeydo|
|000004f0| 77 6e 20 28 74 68 65 45 | 76 65 6e 74 3a 20 45 76 |wn (theE|vent: Ev|
|00000500| 65 6e 74 72 65 63 6f 72 | 64 29 3b 0d 70 72 6f 63 |entrecor|d);.proc|
|00000510| 65 64 75 72 65 20 47 65 | 6e 65 72 69 63 46 70 72 |edure Ge|nericFpr|
|00000520| 69 6e 74 20 28 6f 70 6e | 6f 72 70 72 2c 20 6e 72 |int (opn|orpr, nr|
|00000530| 66 69 6c 73 3a 20 69 6e | 74 65 67 65 72 29 3b 20 |fils: in|teger); |
|00000540| 7b 46 69 6e 64 65 72 20 | 70 72 69 6e 74 7d 0d 70 |{Finder |print}.p|
|00000550| 72 6f 63 65 64 75 72 65 | 20 47 65 6e 65 72 69 63 |rocedure| Generic|
|00000560| 45 64 69 74 20 28 74 68 | 65 69 74 65 6d 3a 20 69 |Edit (th|eitem: i|
|00000570| 6e 74 65 67 65 72 29 3b | 0d 0d 0d 69 6d 70 6c 65 |nteger);|...imple|
|00000580| 6d 65 6e 74 61 74 69 6f | 6e 0d 0d 70 72 6f 63 65 |mentatio|n..proce|
|00000590| 64 75 72 65 20 47 65 6e | 65 72 69 63 41 62 6f 75 |dure Gen|ericAbou|
|000005a0| 74 3b 0d 09 76 61 72 0d | 09 09 61 62 54 79 70 65 |t;..var.|..abType|
|000005b0| 3a 20 52 65 73 54 79 70 | 65 3b 0d 09 09 61 62 4e |: ResTyp|e;...abN|
|000005c0| 61 6d 65 3a 20 53 74 72 | 32 35 35 3b 0d 09 09 68 |ame: Str|255;...h|
|000005d0| 3a 20 48 61 6e 64 6c 65 | 3b 0d 09 09 73 63 72 69 |: Handle|;...scri|
|000005e0| 2c 20 41 62 6f 75 74 49 | 64 3a 20 69 6e 74 65 67 |, AboutI|d: integ|
|000005f0| 65 72 3b 0d 09 62 65 67 | 69 6e 0d 20 20 20 20 7b |er;..beg|in. {|
|00000600| 4e 6f 20 6e 61 6d 65 73 | 20 79 65 74 2e 20 54 6f |No names| yet. To|
|00000610| 20 62 65 20 63 68 61 6e | 67 65 64 c9 7d 0d 20 20 | be chan|ged.}. |
|00000620| 20 20 7b 20 20 68 3a 3d | 67 65 74 4e 61 6d 65 64 | { h:=|getNamed|
|00000630| 52 65 73 6f 75 72 63 65 | 28 27 41 4c 52 54 27 2c |Resource|('ALRT',|
|00000640| 27 41 62 6f 75 74 27 29 | 3b 7d 0d 09 7b 54 72 61 |'About')|;}..{Tra|
|00000650| 6e 73 6c 61 74 65 20 4e | 61 6d 65 20 74 6f 20 6e |nslate N|ame to n|
|00000660| 75 6d 62 65 72 7d 0d 20 | 20 20 20 7b 20 69 66 20 |umber}. | { if |
|00000670| 68 3d 6e 69 6c 20 74 68 | 65 6e 20 4f 73 43 68 65 |h=nil th|en OsChe|
|00000680| 63 6b 28 27 42 61 64 20 | 41 62 6f 75 74 2e 2e 27 |ck('Bad |About..'|
|00000690| 2c 52 65 73 45 72 72 6f | 72 29 3b 7d 0d 09 7b 20 |,ResErro|r);}..{ |
|000006a0| 20 20 20 67 65 74 52 65 | 73 49 6e 66 6f 28 68 2c | getRe|sInfo(h,|
|000006b0| 41 62 6f 75 74 49 64 2c | 61 62 54 79 70 65 2c 61 |AboutId,|abType,a|
|000006c0| 62 4e 61 6d 65 29 3b 7d | 0d 09 09 41 62 6f 75 74 |bName);}|...About|
|000006d0| 49 64 20 3a 3d 20 31 33 | 30 3b 0d 09 09 73 63 72 |Id := 13|0;...scr|
|000006e0| 69 20 3a 3d 20 53 74 64 | 41 6c 65 72 74 28 41 62 |i := Std|Alert(Ab|
|000006f0| 6f 75 74 49 64 2c 20 4e | 6f 49 63 6f 6e 29 3b 0d |outId, N|oIcon);.|
|00000700| 09 65 6e 64 3b 0d 0d 70 | 72 6f 63 65 64 75 72 65 |.end;..p|rocedure|
|00000710| 20 47 65 6e 65 72 69 63 | 41 70 70 6c 65 3b 20 7b | Generic|Apple; {|
|00000720| 47 65 6e 65 72 69 63 20 | 52 65 73 70 6f 6e 73 65 |Generic |Response|
|00000730| 20 74 6f 20 41 70 70 6c | 65 20 4d 65 6e 75 20 73 | to Appl|e Menu s|
|00000740| 65 6c 65 63 74 69 6f 6e | 7d 0d 09 76 61 72 0d 09 |election|}..var..|
|00000750| 09 4e 61 6d 65 3a 20 53 | 74 72 32 35 35 3b 0d 09 |.Name: S|tr255;..|
|00000760| 09 72 65 66 6e 75 6d 3a | 20 69 6e 74 65 67 65 72 |.refnum:| integer|
|00000770| 3b 0d 09 62 65 67 69 6e | 0d 09 09 69 66 20 74 68 |;..begin|...if th|
|00000780| 65 69 74 65 6d 20 3d 20 | 31 20 74 68 65 6e 0d 09 |eitem = |1 then..|
|00000790| 09 09 47 65 6e 65 72 69 | 63 41 62 6f 75 74 20 7b |..Generi|cAbout {|
|000007a0| 20 20 22 41 62 6f 75 74 | 20 74 68 69 73 20 70 72 | "About| this pr|
|000007b0| 6f 67 72 61 6d 2e 2e 2e | 22 20 7d 0d 09 09 65 6c |ogram...|" }...el|
|000007c0| 73 65 0d 09 09 62 65 67 | 69 6e 20 20 20 20 20 20 |se...beg|in |
|000007d0| 20 7b 20 4f 74 68 65 72 | 77 69 73 65 20 66 69 6e | { Other|wise fin|
|000007e0| 64 20 61 6e 64 20 6f 70 | 65 6e 20 74 68 65 20 64 |d and op|en the d|
|000007f0| 65 73 6b 20 61 63 63 65 | 73 73 6f 72 79 2e 20 7d |esk acce|ssory. }|
|00000800| 0d 09 09 09 67 65 74 69 | 74 65 6d 28 47 65 74 4d |....geti|tem(GetM|
|00000810| 48 61 6e 64 6c 65 28 6d | 41 70 70 6c 65 29 2c 20 |Handle(m|Apple), |
|00000820| 74 68 65 69 74 65 6d 2c | 20 4e 61 6d 65 29 3b 0d |theitem,| Name);.|
|00000830| 09 09 09 72 65 66 6e 75 | 6d 20 3a 3d 20 6f 70 65 |...refnu|m := ope|
|00000840| 6e 64 65 73 6b 61 63 63 | 28 4e 61 6d 65 29 3b 0d |ndeskacc|(Name);.|
|00000850| 09 09 65 6e 64 3b 0d 09 | 65 6e 64 3b 0d 0d 7b 2d |..end;..|end;..{-|
|00000860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000880| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008a0| 2d 2d 7d 0d 7b 69 6e 69 | 74 20 74 68 65 20 75 73 |--}.{ini|t the us|
|000008b0| 65 72 20 6d 65 6e 75 73 | 20 61 6e 64 20 64 72 61 |er menus| and dra|
|000008c0| 77 20 6d 65 6e 75 20 62 | 61 72 2e 20 7d 0d 0d 70 |w menu b|ar. }..p|
|000008d0| 72 6f 63 65 64 75 72 65 | 20 53 65 74 55 70 54 68 |rocedure| SetUpTh|
|000008e0| 65 4d 65 6e 75 73 3b 7b | 32 34 2e 35 2e 38 37 7d |eMenus;{|24.5.87}|
|000008f0| 0d 09 63 6f 6e 73 74 0d | 09 09 6d 62 61 72 44 69 |..const.|..mbarDi|
|00000900| 73 70 6c 61 79 65 64 20 | 3d 20 31 32 38 3b 0d 09 |splayed |= 128;..|
|00000910| 76 61 72 0d 09 09 6d 79 | 48 61 6e 64 6c 65 3a 20 |var...my|Handle: |
|00000920| 4d 65 6e 75 48 61 6e 64 | 6c 65 3b 0d 09 09 69 3a |MenuHand|le;...i:|
|00000930| 20 69 6e 74 65 67 65 72 | 3b 0d 09 09 6c 61 61 73 | integer|;...laas|
|00000940| 74 4d 65 6e 75 3a 20 69 | 6e 74 65 67 65 72 3b 0d |tMenu: i|nteger;.|
|00000950| 09 09 6d 62 61 72 3a 20 | 48 61 6e 64 6c 65 3b 0d |..mbar: |Handle;.|
|00000960| 09 62 65 67 69 6e 0d 09 | 09 6d 62 61 72 20 3a 3d |.begin..|.mbar :=|
|00000970| 20 47 65 74 4e 65 77 4d | 42 61 72 28 6d 62 61 72 | GetNewM|Bar(mbar|
|00000980| 44 69 73 70 6c 61 79 65 | 64 29 3b 0d 09 09 69 66 |Displaye|d);...if|
|00000990| 20 6d 62 61 72 20 3c 3e | 20 6e 69 6c 20 74 68 65 | mbar <>| nil the|
|000009a0| 6e 0d 09 09 62 65 67 69 | 6e 0d 09 09 09 73 65 74 |n...begi|n....set|
|000009b0| 4d 65 6e 75 62 61 72 28 | 6d 62 61 72 29 3b 0d 09 |Menubar(|mbar);..|
|000009c0| 09 09 64 69 73 70 6f 73 | 48 61 6e 64 6c 65 28 6d |..dispos|Handle(m|
|000009d0| 62 61 72 29 3b 0d 09 09 | 65 6e 64 3b 0d 09 09 6d |bar);...|end;...m|
|000009e0| 79 48 61 6e 64 6c 65 20 | 3a 3d 20 67 65 74 4d 65 |yHandle |:= getMe|
|000009f0| 6e 75 28 6d 41 70 70 6c | 65 29 3b 09 09 7b 20 47 |nu(mAppl|e);..{ G|
|00000a00| 65 74 20 74 68 65 20 41 | 70 70 6c 65 20 6d 65 6e |et the A|pple men|
|00000a10| 75 2e 20 7d 0d 09 09 69 | 66 20 6d 79 48 61 6e 64 |u. }...i|f myHand|
|00000a20| 6c 65 20 3c 3e 20 6e 69 | 6c 20 74 68 65 6e 0d 09 |le <> ni|l then..|
|00000a30| 09 09 61 64 64 72 65 73 | 4d 65 6e 75 28 6d 79 48 |..addres|Menu(myH|
|00000a40| 61 6e 64 6c 65 2c 20 27 | 44 52 56 52 27 29 3b 09 |andle, '|DRVR');.|
|00000a50| 7b 20 41 64 64 20 69 6e | 20 74 68 65 20 64 65 73 |{ Add in| the des|
|00000a60| 6b 20 61 63 63 65 73 73 | 6f 72 69 65 73 2e 20 7d |k access|ories. }|
|00000a70| 0d 09 65 6e 64 3b 0d 0d | 70 72 6f 63 65 64 75 72 |..end;..|procedur|
|00000a80| 65 20 47 65 6e 65 72 69 | 63 44 72 61 67 20 28 74 |e Generi|cDrag (t|
|00000a90| 68 65 45 76 65 6e 74 3a | 20 45 76 65 6e 74 72 65 |heEvent:| Eventre|
|00000aa0| 63 6f 72 64 3b 20 74 68 | 65 57 69 6e 64 6f 77 3a |cord; th|eWindow:|
|00000ab0| 20 57 69 6e 64 6f 77 50 | 74 72 29 3b 0d 09 62 65 | WindowP|tr);..be|
|00000ac0| 67 69 6e 20 7b 20 49 66 | 20 69 6e 20 74 68 65 20 |gin { If| in the |
|00000ad0| 64 72 61 67 20 62 61 72 | 2c 20 6c 65 74 20 68 65 |drag bar|, let he|
|00000ae0| 72 20 64 72 61 67 20 69 | 74 20 61 72 6f 75 6e 64 |r drag i|t around|
|00000af0| 2e 20 7d 0d 09 09 69 66 | 20 74 68 65 57 69 6e 64 |. }...if| theWind|
|00000b00| 6f 77 20 3c 3e 20 6e 69 | 6c 20 74 68 65 6e 0d 09 |ow <> ni|l then..|
|00000b10| 09 62 65 67 69 6e 20 7b | 32 36 2e 31 31 2e 31 39 |.begin {|26.11.19|
|00000b20| 39 30 20 30 3a 34 39 3a | 32 39 20 55 68 72 09 67 |90 0:49:|29 Uhr.g|
|00000b30| 73 09 7d 0d 09 09 09 7b | 6d 61 6b 65 20 66 72 6f |s.}....{|make fro|
|00000b40| 6e 74 2c 20 69 66 20 6e | 6f 74 20 63 6f 6d 6d 61 |nt, if n|ot comma|
|00000b50| 6e 64 20 70 72 65 73 73 | 65 64 7d 0d 09 09 09 69 |nd press|ed}....i|
|00000b60| 66 20 28 74 68 65 57 69 | 6e 64 6f 77 20 3c 3e 20 |f (theWi|ndow <> |
|00000b70| 66 72 6f 6e 74 77 69 6e | 64 6f 77 29 20 61 6e 64 |frontwin|dow) and|
|00000b80| 20 28 62 69 74 61 6e 64 | 28 74 68 65 45 76 65 6e | (bitand|(theEven|
|00000b90| 74 2e 6d 6f 64 69 66 69 | 65 72 73 2c 20 63 6d 64 |t.modifi|ers, cmd|
|00000ba0| 6b 65 79 29 20 3d 20 30 | 29 20 74 68 65 6e 0d 09 |key) = 0|) then..|
|00000bb0| 09 09 09 73 65 6c 65 63 | 74 77 69 6e 64 6f 77 28 |...selec|twindow(|
|00000bc0| 74 68 65 57 69 6e 64 6f | 77 29 3b 0d 09 09 09 64 |theWindo|w);....d|
|00000bd0| 72 61 67 77 69 6e 64 6f | 77 28 74 68 65 57 69 6e |ragwindo|w(theWin|
|00000be0| 64 6f 77 2c 20 74 68 65 | 45 76 65 6e 74 2e 77 68 |dow, the|Event.wh|
|00000bf0| 65 72 65 2c 20 73 79 73 | 74 65 6d 2e 64 72 61 67 |ere, sys|tem.drag|
|00000c00| 72 65 63 74 29 3b 0d 09 | 09 65 6e 64 3b 0d 09 65 |rect);..|.end;..e|
|00000c10| 6e 64 3b 0d 0d 09 50 52 | 4f 43 45 44 55 52 45 20 |nd;...PR|OCEDURE |
|00000c20| 47 65 6e 65 72 69 63 4d | 6f 75 73 65 64 6f 77 6e |GenericM|ousedown|
|00000c30| 28 74 68 65 45 76 65 6e | 74 20 3a 20 45 76 65 6e |(theEven|t : Even|
|00000c40| 74 72 65 63 6f 72 64 3b | 20 74 68 65 57 69 6e 64 |trecord;| theWind|
|00000c50| 6f 77 20 3a 20 57 69 6e | 64 6f 77 50 74 72 29 3b |ow : Win|dowPtr);|
|00000c60| 0d 09 09 56 41 52 20 69 | 74 65 6d 48 69 74 20 3a |...VAR i|temHit :|
|00000c70| 20 69 6e 74 65 67 65 72 | 3b 0d 20 20 20 20 7b 48 | integer|;. {H|
|00000c80| 61 6e 64 6c 65 20 6d 6f | 75 73 65 64 6f 77 6e 20 |andle mo|usedown |
|00000c90| 69 6e 20 63 6f 6e 74 65 | 6e 74 7d 0d 09 42 45 47 |in conte|nt}..BEG|
|00000ca0| 49 4e 0d 09 09 49 46 20 | 69 73 44 69 61 6c 6f 67 |IN...IF |isDialog|
|00000cb0| 45 76 65 6e 74 28 74 68 | 65 45 76 65 6e 74 29 20 |Event(th|eEvent) |
|00000cc0| 74 68 65 6e 20 0d 09 09 | 09 62 65 67 69 6e 0d 09 |then ...|.begin..|
|00000cd0| 09 20 09 69 66 20 44 69 | 61 6c 6f 67 53 65 6c 65 |. .if Di|alogSele|
|00000ce0| 63 74 28 74 68 65 45 76 | 65 6e 74 2c 20 74 68 65 |ct(theEv|ent, the|
|00000cf0| 57 69 6e 64 6f 77 2c 20 | 69 74 65 6d 48 69 74 29 |Window, |itemHit)|
|00000d00| 20 54 48 45 4e 0d 09 09 | 09 09 42 45 47 49 4e 0d | THEN...|..BEGIN.|
|00000d10| 09 09 09 09 09 43 41 53 | 45 20 69 74 65 6d 48 69 |.....CAS|E itemHi|
|00000d20| 74 20 4f 46 0d 09 09 09 | 09 09 09 6f 6b 20 3a 20 |t OF....|...ok : |
|00000d30| 42 45 47 49 4e 20 45 4e | 44 3b 0d 09 0d 09 09 09 |BEGIN EN|D;......|
|00000d40| 09 09 09 63 61 6e 63 65 | 6c 20 3a 20 20 42 45 47 |...cance|l : BEG|
|00000d50| 49 4e 20 45 4e 44 3b 0d | 09 09 09 09 09 09 4f 54 |IN END;.|......OT|
|00000d60| 48 45 52 57 49 53 45 0d | 09 09 09 09 09 45 4e 44 |HERWISE.|.....END|
|00000d70| 3b 0d 09 09 09 09 45 4e | 44 7b 49 73 44 69 61 6c |;.....EN|D{IsDial|
|00000d80| 6f 67 53 65 6c 65 63 74 | 7d 3b 0d 09 09 09 45 4e |ogSelect|};....EN|
|00000d90| 44 7b 69 73 44 69 61 6c | 6f 67 45 76 65 6e 74 7d |D{isDial|ogEvent}|
|00000da0| 0d 0d 09 09 45 4c 53 45 | 0d 09 09 09 42 45 47 49 |....ELSE|....BEGI|
|00000db0| 4e 20 7b 6e 6f 20 64 69 | 61 6c 6f 67 20 65 76 65 |N {no di|alog eve|
|00000dc0| 6e 74 7d 20 45 4e 44 3b | 0d 09 45 4e 44 3b 0d 0d |nt} END;|..END;..|
|00000dd0| 09 50 52 4f 43 45 44 55 | 52 45 20 47 65 6e 65 72 |.PROCEDU|RE Gener|
|00000de0| 69 63 47 72 6f 77 77 69 | 6e 64 6f 77 3b 7b 20 28 |icGrowwi|ndow;{ (|
|00000df0| 74 68 65 45 76 65 6e 74 | 20 3a 20 45 76 65 6e 74 |theEvent| : Event|
|00000e00| 72 65 63 6f 72 64 3b 74 | 68 65 57 69 6e 64 6f 77 |record;t|heWindow|
|00000e10| 20 3a 20 57 69 6e 64 6f | 77 50 74 72 29 7d 0d 20 | : Windo|wPtr)}. |
|00000e20| 20 20 20 7b 48 61 6e 64 | 6c 65 20 6d 6f 75 73 65 | {Hand|le mouse|
|00000e30| 64 6f 77 6e 20 69 6e 20 | 67 72 6f 77 7d 0d 09 42 |down in |grow}..B|
|00000e40| 45 47 49 4e 20 45 4e 44 | 3b 0d 09 0d 09 50 52 4f |EGIN END|;....PRO|
|00000e50| 43 45 44 55 52 45 20 47 | 65 6e 65 72 69 63 5a 6f |CEDURE G|enericZo|
|00000e60| 6f 6d 57 69 6e 64 6f 77 | 28 66 77 72 65 74 75 72 |omWindow|(fwretur|
|00000e70| 6e 63 6f 64 65 3a 69 6e | 74 65 67 65 72 3b 74 68 |ncode:in|teger;th|
|00000e80| 65 45 76 65 6e 74 20 3a | 20 45 76 65 6e 74 72 65 |eEvent :| Eventre|
|00000e90| 63 6f 72 64 3b 74 68 65 | 57 69 6e 64 6f 77 20 3a |cord;the|Window :|
|00000ea0| 20 57 69 6e 64 6f 77 50 | 74 72 29 3b 0d 09 42 45 | WindowP|tr);..BE|
|00000eb0| 47 49 4e 20 45 4e 44 3b | 0d 0d 09 50 52 4f 43 45 |GIN END;|...PROCE|
|00000ec0| 44 55 52 45 20 47 65 6e | 65 72 69 63 47 6f 61 77 |DURE Gen|ericGoaw|
|00000ed0| 61 79 3b 20 7b 20 28 76 | 61 72 20 74 68 65 57 69 |ay; { (v|ar theWi|
|00000ee0| 6e 64 6f 77 20 3a 20 57 | 69 6e 64 6f 77 50 74 72 |ndow : W|indowPtr|
|00000ef0| 29 7d 0d 20 20 20 20 7b | 77 69 6c 6c 20 62 65 20 |)}. {|will be |
|00000f00| 63 61 6c 6c 65 64 20 62 | 65 66 6f 72 65 20 74 68 |called b|efore th|
|00000f10| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 64 69 73 70 |e window| is disp|
|00000f20| 6f 73 65 64 7d 0d 09 42 | 45 47 49 4e 20 45 4e 44 |osed}..B|EGIN END|
|00000f30| 3b 0d 0d 09 50 52 4f 43 | 45 44 55 52 45 20 47 65 |;...PROC|EDURE Ge|
|00000f40| 6e 65 72 69 63 41 63 74 | 69 76 61 74 65 3b 20 7b |nericAct|ivate; {|
|00000f50| 28 74 68 65 57 69 6e 64 | 6f 77 20 3a 20 57 69 6e |(theWind|ow : Win|
|00000f60| 64 6f 77 50 74 72 29 7d | 0d 09 42 45 47 49 4e 20 |dowPtr)}|..BEGIN |
|00000f70| 45 4e 44 3b 0d 0d 09 50 | 52 4f 43 45 44 55 52 45 |END;...P|ROCEDURE|
|00000f80| 20 47 65 6e 65 72 69 63 | 44 65 61 63 74 69 76 61 | Generic|Deactiva|
|00000f90| 74 65 3b 20 7b 28 74 68 | 65 57 69 6e 64 6f 77 20 |te; {(th|eWindow |
|00000fa0| 3a 20 57 69 6e 64 6f 77 | 50 74 72 29 7d 0d 09 42 |: Window|Ptr)}..B|
|00000fb0| 45 47 49 4e 20 45 4e 44 | 3b 0d 0d 0d 70 72 6f 63 |EGIN END|;...proc|
|00000fc0| 65 64 75 72 65 20 47 65 | 6e 65 72 69 63 55 70 64 |edure Ge|nericUpd|
|00000fd0| 61 74 65 3b 20 7b 28 74 | 68 65 57 69 6e 64 6f 77 |ate; {(t|heWindow|
|00000fe0| 20 3a 20 57 69 6e 64 6f | 77 50 74 72 29 7d 0d 09 | : Windo|wPtr)}..|
|00000ff0| 62 65 67 69 6e 0d 7b 20 | 20 20 20 62 65 67 69 6e |begin.{ | begin|
|00001000| 75 70 64 61 74 65 28 74 | 68 65 57 69 6e 64 6f 77 |update(t|heWindow|
|00001010| 29 3b 7d 0d 09 09 69 66 | 20 74 68 65 57 69 6e 64 |);}...if| theWind|
|00001020| 6f 77 20 3c 3e 20 6e 69 | 6c 20 74 68 65 6e 0d 09 |ow <> ni|l then..|
|00001030| 09 09 64 72 61 77 63 6f | 6e 74 72 6f 6c 73 28 74 |..drawco|ntrols(t|
|00001040| 68 65 57 69 6e 64 6f 77 | 29 3b 7b 32 36 2e 31 31 |heWindow|);{26.11|
|00001050| 2e 31 39 39 30 20 31 3a | 30 30 3a 30 39 20 55 68 |.1990 1:|00:09 Uh|
|00001060| 72 09 67 73 09 7d 0d 7b | 20 20 20 20 65 6e 64 75 |r.gs.}.{| endu|
|00001070| 70 64 61 74 65 28 74 68 | 65 57 69 6e 64 6f 77 29 |pdate(th|eWindow)|
|00001080| 3b 7d 0d 09 65 6e 64 3b | 0d 0d 70 72 6f 63 65 64 |;}..end;|..proced|
|00001090| 75 72 65 20 47 65 6e 65 | 72 69 63 44 69 73 6b 45 |ure Gene|ricDiskE|
|000010a0| 76 65 6e 74 3b 7b 28 4d | 65 73 73 61 67 65 3a 4c |vent;{(M|essage:L|
|000010b0| 6f 6e 67 69 6e 74 29 7d | 0d 09 76 61 72 0d 09 09 |ongint)}|..var...|
|000010c0| 64 69 65 72 72 3a 20 69 | 6e 74 65 67 65 72 3b 20 |dierr: i|nteger; |
|000010d0| 20 20 20 20 20 20 7b 20 | 63 6f 64 65 20 72 65 74 | { |code ret|
|000010e0| 75 72 6e 65 64 20 62 79 | 20 64 69 73 6b 69 6e 69 |urned by| diskini|
|000010f0| 74 20 7d 0d 09 62 65 67 | 69 6e 20 7b 20 44 69 73 |t }..beg|in { Dis|
|00001100| 6b 20 69 6e 73 65 72 74 | 69 6f 6e 20 65 76 65 6e |k insert|ion even|
|00001110| 74 3a 20 7d 0d 09 09 69 | 66 20 68 69 77 6f 72 64 |t: }...i|f hiword|
|00001120| 28 4d 65 73 73 61 67 65 | 29 20 3c 3e 20 4e 6f 45 |(Message|) <> NoE|
|00001130| 72 72 20 74 68 65 6e 0d | 09 09 09 64 69 65 72 72 |rr then.|...dierr|
|00001140| 20 3a 3d 20 64 69 62 61 | 64 6d 6f 75 6e 74 28 73 | := diba|dmount(s|
|00001150| 79 73 74 65 6d 2e 53 46 | 50 75 74 50 6f 69 6e 74 |ystem.SF|PutPoint|
|00001160| 2c 20 4d 65 73 73 61 67 | 65 29 3b 0d 09 65 6e 64 |, Messag|e);..end|
|00001170| 3b 0d 0d 70 72 6f 63 65 | 64 75 72 65 20 75 70 64 |;..proce|dure upd|
|00001180| 61 74 65 63 75 72 73 6f | 72 3b 0d 09 62 65 67 69 |atecurso|r;..begi|
|00001190| 6e 0d 09 65 6e 64 3b 0d | 0d 7b 70 72 6f 63 65 64 |n..end;.|.{proced|
|000011a0| 75 72 65 20 47 65 6e 65 | 72 69 63 4b 65 79 64 6f |ure Gene|ricKeydo|
|000011b0| 77 6e 28 6b 65 79 3a 63 | 68 61 72 3b 74 68 65 45 |wn(key:c|har;theE|
|000011c0| 76 65 6e 74 3a 20 45 76 | 65 6e 74 72 65 63 6f 72 |vent: Ev|entrecor|
|000011d0| 64 29 3b 7d 0d 7b 62 65 | 67 69 6e 20 65 6e 64 3b |d);}.{be|gin end;|
|000011e0| 7d 0d 0d 70 72 6f 63 65 | 64 75 72 65 20 47 65 6e |}..proce|dure Gen|
|000011f0| 65 72 69 63 4b 65 79 64 | 6f 77 6e 3b 20 7b 20 28 |ericKeyd|own; { (|
|00001200| 74 68 65 45 76 65 6e 74 | 20 3a 20 45 76 65 6e 74 |theEvent| : Event|
|00001210| 72 65 63 6f 72 64 29 7d | 0d 09 74 79 70 65 0d 09 |record)}|..type..|
|00001220| 09 74 72 69 63 6b 20 3d | 20 70 61 63 6b 65 64 20 |.trick =| packed |
|00001230| 72 65 63 6f 72 64 0d 09 | 09 09 09 63 61 73 65 20 |record..|...case |
|00001240| 62 6f 6f 6c 65 61 6e 20 | 6f 66 0d 09 09 09 09 09 |boolean |of......|
|00001250| 74 72 75 65 3a 20 28 0d | 09 09 09 09 09 09 09 6c |true: (.|.......l|
|00001260| 6f 6e 67 3a 20 4c 6f 6e | 67 69 6e 74 0d 09 09 09 |ong: Lon|gint....|
|00001270| 09 09 29 3b 0d 09 09 09 | 09 09 66 61 6c 73 65 3a |..);....|..false:|
|00001280| 20 28 0d 09 09 09 09 09 | 09 09 63 68 72 33 2c 20 | (......|..chr3, |
|00001290| 63 68 72 32 2c 20 63 68 | 72 31 2c 20 63 68 72 30 |chr2, ch|r1, chr0|
|000012a0| 3a 20 63 68 61 72 0d 09 | 09 09 09 09 29 0d 09 09 |: char..|....)...|
|000012b0| 09 65 6e 64 3b 0d 0d 09 | 76 61 72 0d 09 09 69 74 |.end;...|var...it|
|000012c0| 65 6d 48 69 74 3a 20 69 | 6e 74 65 67 65 72 3b 0d |emHit: i|nteger;.|
|000012d0| 09 09 54 72 69 63 6b 56 | 61 72 3a 20 74 72 69 63 |..TrickV|ar: tric|
|000012e0| 6b 3b 0d 09 09 63 68 61 | 72 43 6f 64 65 3a 20 63 |k;...cha|rCode: c|
|000012f0| 68 61 72 3b 0d 09 09 64 | 75 6d 6d 79 3a 20 62 6f |har;...d|ummy: bo|
|00001300| 6f 6c 65 61 6e 3b 0d 09 | 62 65 67 69 6e 0d 09 09 |olean;..|begin...|
|00001310| 69 66 20 69 73 44 69 61 | 6c 6f 67 45 76 65 6e 74 |if isDia|logEvent|
|00001320| 28 74 68 65 45 76 65 6e | 74 29 20 74 68 65 6e 0d |(theEven|t) then.|
|00001330| 09 09 62 65 67 69 6e 0d | 09 09 09 54 72 69 63 6b |..begin.|...Trick|
|00001340| 56 61 72 2e 6c 6f 6e 67 | 20 3a 3d 20 74 68 65 45 |Var.long| := theE|
|00001350| 76 65 6e 74 2e 4d 65 73 | 73 61 67 65 3b 0d 09 09 |vent.Mes|sage;...|
|00001360| 09 63 68 61 72 43 6f 64 | 65 20 3a 3d 20 54 72 69 |.charCod|e := Tri|
|00001370| 63 6b 56 61 72 2e 63 68 | 72 30 3b 0d 09 09 09 69 |ckVar.ch|r0;....i|
|00001380| 66 20 28 63 68 61 72 43 | 6f 64 65 20 3d 20 63 68 |f (charC|ode = ch|
|00001390| 72 28 33 29 29 20 6f 72 | 20 28 63 68 61 72 43 6f |r(3)) or| (charCo|
|000013a0| 64 65 20 3d 20 63 68 72 | 28 24 30 44 29 29 20 74 |de = chr|($0D)) t|
|000013b0| 68 65 6e 0d 09 09 09 62 | 65 67 69 6e 0d 20 20 7b |hen....b|egin. {|
|000013c0| 73 61 6d 65 20 61 73 20 | 6f 6b 7d 0d 20 20 7b 2d |same as |ok}. {-|
|000013d0| 2d 2d 2d 20 6f 70 65 6e | 20 70 72 6f 62 6c 65 6d |--- open| problem|
|000013e0| 3a 20 68 6f 77 20 64 6f | 20 79 6f 75 20 66 69 6e |: how do| you fin|
|000013f0| 64 20 74 68 65 20 64 69 | 61 6c 6f 67 20 3f 7d 0d |d the di|alog ?}.|
|00001400| 09 09 09 65 6e 64 3b 7b | 6e 65 77 76 61 6c 75 65 |...end;{|newvalue|
|00001410| 73 7d 0d 09 09 09 3b 0d | 09 09 65 6e 64 3b 7b 64 |s}....;.|..end;{d|
|00001420| 69 61 6c 6f 67 45 76 65 | 6e 74 7d 0d 09 65 6e 64 |ialogEve|nt}..end|
|00001430| 3b 0d 0d 70 72 6f 63 65 | 64 75 72 65 20 47 65 6e |;..proce|dure Gen|
|00001440| 65 72 69 63 46 70 72 69 | 6e 74 3b 20 7b 28 6f 70 |ericFpri|nt; {(op|
|00001450| 6e 6f 72 70 72 2c 20 6e | 72 66 69 6c 73 20 3a 20 |norpr, n|rfils : |
|00001460| 69 6e 74 65 67 65 72 29 | 7d 0d 20 7b 46 69 6e 64 |integer)|}. {Find|
|00001470| 65 72 20 70 72 69 6e 74 | 7d 0d 09 62 65 67 69 6e |er print|}..begin|
|00001480| 0d 09 65 6e 64 3b 0d 0d | 70 72 6f 63 65 64 75 72 |..end;..|procedur|
|00001490| 65 20 47 65 6e 65 72 69 | 63 50 69 63 74 45 64 69 |e Generi|cPictEdi|
|000014a0| 74 20 28 76 61 72 20 70 | 69 63 3a 20 50 69 63 48 |t (var p|ic: PicH|
|000014b0| 61 6e 64 6c 65 3b 20 6f | 77 6e 65 72 3a 20 70 74 |andle; o|wner: pt|
|000014c0| 72 3b 20 41 63 74 69 6f | 6e 3a 20 63 6d 64 6e 75 |r; Actio|n: cmdnu|
|000014d0| 6d 62 65 72 29 3b 0d 09 | 7b 70 65 72 66 6f 72 6d |mber);..|{perform|
|000014e0| 20 61 20 64 65 66 61 75 | 6c 74 20 63 75 74 2f 63 | a defau|lt cut/c|
|000014f0| 6f 70 79 2f 70 61 73 74 | 65 2f 63 6c 65 61 72 20 |opy/past|e/clear |
|00001500| 66 6f 72 20 70 69 63 74 | 75 72 65 73 2c 20 77 69 |for pict|ures, wi|
|00001510| 74 68 20 73 69 6d 70 6c | 65 20 75 6e 64 6f 7d 0d |th simpl|e undo}.|
|00001520| 09 0d 09 76 61 72 0d 09 | 09 70 48 6e 64 6c 3a 20 |...var..|.pHndl: |
|00001530| 48 61 6e 64 6c 65 3b 0d | 09 09 6c 65 6e 67 74 68 |Handle;.|..length|
|00001540| 2c 20 6f 66 66 73 65 74 | 3a 20 4c 6f 6e 67 69 6e |, offset|: Longin|
|00001550| 74 3b 0d 09 09 69 6e 66 | 6f 3a 20 48 61 6e 64 6c |t;...inf|o: Handl|
|00001560| 65 3b 0d 09 09 69 6e 66 | 6f 54 79 70 65 3a 20 52 |e;...inf|oType: R|
|00001570| 65 73 54 79 70 65 3b 0d | 09 09 55 6e 64 6f 4f 77 |esType;.|..UndoOw|
|00001580| 6e 65 72 3a 20 70 74 72 | 3b 0d 0d 09 62 65 67 69 |ner: ptr|;...begi|
|00001590| 6e 0d 09 09 69 66 20 70 | 69 63 20 3d 20 6e 69 6c |n...if p|ic = nil|
|000015a0| 20 74 68 65 6e 0d 09 09 | 09 6c 65 6e 67 74 68 20 | then...|.length |
|000015b0| 3a 3d 20 30 0d 09 09 65 | 6c 73 65 0d 09 09 09 6c |:= 0...e|lse....l|
|000015c0| 65 6e 67 74 68 20 3a 3d | 20 67 65 74 48 61 6e 64 |ength :=| getHand|
|000015d0| 6c 65 53 69 7a 65 28 48 | 61 6e 64 6c 65 28 70 69 |leSize(H|andle(pi|
|000015e0| 63 29 29 3b 0d 09 09 63 | 61 73 65 20 41 63 74 69 |c));...c|ase Acti|
|000015f0| 6f 6e 20 6f 66 0d 09 09 | 09 63 55 6e 64 6f 3a 20 |on of...|.cUndo: |
|00001600| 0d 09 09 09 62 65 67 69 | 6e 0d 09 09 09 09 69 66 |....begi|n.....if|
|00001610| 20 47 65 74 55 6e 64 6f | 28 69 6e 66 6f 2c 20 69 | GetUndo|(info, i|
|00001620| 6e 66 6f 54 79 70 65 2c | 20 55 6e 64 6f 4f 77 6e |nfoType,| UndoOwn|
|00001630| 65 72 2c 20 41 63 74 69 | 6f 6e 29 20 3d 20 4e 6f |er, Acti|on) = No|
|00001640| 45 72 72 20 74 68 65 6e | 0d 09 09 09 09 09 69 66 |Err then|......if|
|00001650| 20 28 69 6e 66 6f 54 79 | 70 65 20 3d 20 27 50 49 | (infoTy|pe = 'PI|
|00001660| 43 54 27 29 20 61 6e 64 | 20 28 6f 77 6e 65 72 20 |CT') and| (owner |
|00001670| 3d 20 55 6e 64 6f 4f 77 | 6e 65 72 29 20 61 6e 64 |= UndoOw|ner) and|
|00001680| 20 28 41 63 74 69 6f 6e | 20 3d 20 63 50 61 73 74 | (Action| = cPast|
|00001690| 65 29 20 74 68 65 6e 0d | 09 09 09 09 09 62 65 67 |e) then.|.....beg|
|000016a0| 69 6e 20 09 09 09 09 09 | 09 09 09 7b 73 61 76 65 |in .....|...{save|
|000016b0| 20 70 72 65 73 65 6e 74 | 20 70 69 63 74 75 72 65 | present| picture|
|000016c0| 7d 0d 09 09 09 09 09 09 | 69 66 20 50 75 74 55 6e |}.......|if PutUn|
|000016d0| 64 6f 28 48 61 6e 64 6c | 65 28 70 69 63 29 2c 20 |do(Handl|e(pic), |
|000016e0| 27 50 49 43 54 27 2c 20 | 6f 77 6e 65 72 2c 20 63 |'PICT', |owner, c|
|000016f0| 50 61 73 74 65 29 20 3c | 3e 20 4e 6f 45 72 72 20 |Paste) <|> NoErr |
|00001700| 74 68 65 6e 20 7b 65 72 | 72 6f 72 20 68 61 6e 64 |then {er|ror hand|
|00001710| 6c 69 6e 67 7d 0d 09 09 | 09 09 09 09 09 3b 0d 09 |ling}...|.....;..|
|00001720| 09 09 09 09 09 6b 69 6c | 6c 50 69 63 74 75 72 65 |.....kil|lPicture|
|00001730| 28 70 69 63 29 3b 0d 09 | 09 09 09 09 09 70 69 63 |(pic);..|.....pic|
|00001740| 20 3a 3d 20 50 69 63 48 | 61 6e 64 6c 65 28 69 6e | := PicH|andle(in|
|00001750| 66 6f 29 3b 09 09 09 7b | 67 6c 75 65 20 75 6e 64 |fo);...{|glue und|
|00001760| 6f 20 70 69 63 74 75 72 | 65 7d 0d 09 09 09 09 09 |o pictur|e}......|
|00001770| 65 6e 64 3b 0d 09 09 09 | 65 6e 64 3b 0d 0d 09 09 |end;....|end;....|
|00001780| 09 63 43 75 74 3a 20 0d | 09 09 09 09 69 66 20 70 |.cCut: .|....if p|
|00001790| 69 63 20 3c 3e 20 6e 69 | 6c 20 74 68 65 6e 0d 09 |ic <> ni|l then..|
|000017a0| 09 09 09 62 65 67 69 6e | 0d 09 09 09 09 09 69 66 |...begin|......if|
|000017b0| 20 50 75 74 55 6e 64 6f | 28 48 61 6e 64 6c 65 28 | PutUndo|(Handle(|
|000017c0| 70 69 63 29 2c 20 27 50 | 49 43 54 27 2c 20 6f 77 |pic), 'P|ICT', ow|
|000017d0| 6e 65 72 2c 20 63 50 61 | 73 74 65 29 20 3c 3e 20 |ner, cPa|ste) <> |
|000017e0| 4e 6f 45 72 72 20 74 68 | 65 6e 20 7b 65 72 72 6f |NoErr th|en {erro|
|000017f0| 72 20 68 61 6e 64 6c 69 | 6e 67 7d 0d 09 09 09 09 |r handli|ng}.....|
|00001800| 09 09 3b 0d 09 09 09 09 | 09 69 66 20 5a 65 72 6f |..;.....|.if Zero|
|00001810| 53 63 72 61 70 20 3c 3e | 20 4e 6f 45 72 72 20 74 |Scrap <>| NoErr t|
|00001820| 68 65 6e 20 7b 65 72 72 | 6f 72 20 68 61 6e 64 6c |hen {err|or handl|
|00001830| 69 6e 67 7d 0d 09 09 09 | 09 09 09 3b 0d 09 09 09 |ing}....|...;....|
|00001840| 09 09 69 66 20 70 75 74 | 73 63 72 61 70 28 6c 65 |..if put|scrap(le|
|00001850| 6e 67 74 68 2c 20 27 50 | 49 43 54 27 2c 20 70 74 |ngth, 'P|ICT', pt|
|00001860| 72 28 70 69 63 5e 29 29 | 20 3c 3e 20 4e 6f 45 72 |r(pic^))| <> NoEr|
|00001870| 72 20 74 68 65 6e 0d 09 | 09 09 09 09 09 3b 7b 65 |r then..|.....;{e|
|00001880| 72 72 6f 72 20 68 61 6e | 64 6c 69 6e 67 7d 0d 09 |rror han|dling}..|
|00001890| 09 09 09 09 6b 69 6c 6c | 50 69 63 74 75 72 65 28 |....kill|Picture(|
|000018a0| 70 69 63 29 3b 0d 09 09 | 09 09 09 70 69 63 20 3a |pic);...|...pic :|
|000018b0| 3d 20 6e 69 6c 3b 0d 09 | 09 09 09 65 6e 64 3b 0d |= nil;..|...end;.|
|000018c0| 09 09 09 63 43 6f 70 79 | 3a 20 0d 09 09 09 09 69 |...cCopy|: .....i|
|000018d0| 66 20 70 69 63 20 3c 3e | 20 6e 69 6c 20 74 68 65 |f pic <>| nil the|
|000018e0| 6e 0d 09 09 09 09 62 65 | 67 69 6e 0d 09 09 09 09 |n.....be|gin.....|
|000018f0| 09 46 6f 72 67 65 74 55 | 6e 64 6f 3b 0d 09 09 09 |.ForgetU|ndo;....|
|00001900| 09 09 69 66 20 5a 65 72 | 6f 53 63 72 61 70 20 3c |..if Zer|oScrap <|
|00001910| 3e 20 4e 6f 45 72 72 20 | 74 68 65 6e 20 7b 65 72 |> NoErr |then {er|
|00001920| 72 6f 72 20 68 61 6e 64 | 6c 69 6e 67 7d 0d 09 09 |ror hand|ling}...|
|00001930| 09 09 09 09 3b 0d 0d 09 | 09 09 09 09 69 66 20 70 |....;...|....if p|
|00001940| 75 74 73 63 72 61 70 28 | 6c 65 6e 67 74 68 2c 20 |utscrap(|length, |
|00001950| 27 50 49 43 54 27 2c 20 | 70 74 72 28 70 69 63 5e |'PICT', |ptr(pic^|
|00001960| 29 29 20 3c 3e 20 4e 6f | 45 72 72 20 74 68 65 6e |)) <> No|Err then|
|00001970| 0d 09 09 09 09 09 09 3b | 7b 65 72 72 6f 72 20 68 |.......;|{error h|
|00001980| 61 6e 64 6c 69 6e 67 7d | 0d 09 09 09 7b 44 61 6e |andling}|....{Dan|
|00001990| 67 65 72 3a 20 70 75 74 | 73 63 72 61 70 20 6d 61 |ger: put|scrap ma|
|000019a0| 79 20 63 68 61 6e 67 65 | 20 74 68 65 20 68 65 61 |y change| the hea|
|000019b0| 70 7d 0d 09 09 09 09 65 | 6e 64 3b 0d 09 09 09 63 |p}.....e|nd;....c|
|000019c0| 50 61 73 74 65 3a 20 0d | 09 09 09 62 65 67 69 6e |Paste: .|...begin|
|000019d0| 0d 09 09 09 09 70 48 6e | 64 6c 20 3a 3d 20 4e 65 |.....pHn|dl := Ne|
|000019e0| 77 48 61 6e 64 6c 65 28 | 30 29 3b 0d 09 09 09 09 |wHandle(|0);.....|
|000019f0| 69 66 20 70 48 6e 64 6c | 20 3c 3e 20 6e 69 6c 20 |if pHndl| <> nil |
|00001a00| 74 68 65 6e 0d 09 09 09 | 09 62 65 67 69 6e 0d 09 |then....|.begin..|
|00001a10| 09 09 09 09 6c 65 6e 67 | 74 68 20 3a 3d 20 47 65 |....leng|th := Ge|
|00001a20| 74 53 63 72 61 70 28 70 | 48 6e 64 6c 2c 20 27 50 |tScrap(p|Hndl, 'P|
|00001a30| 49 43 54 27 2c 20 6f 66 | 66 73 65 74 29 3b 0d 09 |ICT', of|fset);..|
|00001a40| 09 09 09 09 69 66 20 6c | 65 6e 67 74 68 20 3c 20 |....if l|ength < |
|00001a50| 30 20 74 68 65 6e 20 09 | 7b 65 72 72 6f 72 20 68 |0 then .|{error h|
|00001a60| 61 6e 64 6c 69 6e 67 7d | 0d 09 09 09 09 09 65 6c |andling}|......el|
|00001a70| 73 65 20 69 66 20 6c 65 | 6e 67 74 68 20 3e 20 30 |se if le|ngth > 0|
|00001a80| 20 74 68 65 6e 20 09 7b | 6e 6f 20 65 72 72 6f 72 | then .{|no error|
|00001a90| 2c 20 61 6e 64 20 67 6f | 74 20 69 6e 66 6f 7d 0d |, and go|t info}.|
|00001aa0| 09 09 09 09 09 62 65 67 | 69 6e 0d 09 09 09 09 09 |.....beg|in......|
|00001ab0| 09 69 66 20 50 75 74 55 | 6e 64 6f 28 48 61 6e 64 |.if PutU|ndo(Hand|
|00001ac0| 6c 65 28 70 69 63 29 2c | 20 27 50 49 43 54 27 2c |le(pic),| 'PICT',|
|00001ad0| 20 6f 77 6e 65 72 2c 20 | 63 50 61 73 74 65 29 20 | owner, |cPaste) |
|00001ae0| 3c 3e 20 4e 6f 45 72 72 | 20 74 68 65 6e 20 7b 65 |<> NoErr| then {e|
|00001af0| 72 72 6f 72 20 68 61 6e | 64 6c 69 6e 67 7d 0d 09 |rror han|dling}..|
|00001b00| 09 09 09 09 09 09 3b 0d | 09 09 09 09 09 09 6b 69 |......;.|......ki|
|00001b10| 6c 6c 50 69 63 74 75 72 | 65 28 70 69 63 29 3b 0d |llPictur|e(pic);.|
|00001b20| 09 09 09 09 09 09 70 69 | 63 20 3a 3d 20 50 69 63 |......pi|c := Pic|
|00001b30| 48 61 6e 64 6c 65 28 70 | 48 6e 64 6c 29 3b 0d 09 |Handle(p|Hndl);..|
|00001b40| 09 09 09 09 65 6e 64 3b | 0d 09 09 09 09 65 6e 64 |....end;|.....end|
|00001b50| 3b 0d 09 09 09 65 6e 64 | 3b 0d 09 09 09 63 43 6c |;....end|;....cCl|
|00001b60| 65 61 72 3a 20 0d 09 09 | 09 62 65 67 69 6e 0d 09 |ear: ...|.begin..|
|00001b70| 09 09 09 69 66 20 50 75 | 74 55 6e 64 6f 28 48 61 |...if Pu|tUndo(Ha|
|00001b80| 6e 64 6c 65 28 70 69 63 | 29 2c 20 27 50 49 43 54 |ndle(pic|), 'PICT|
|00001b90| 27 2c 20 6f 77 6e 65 72 | 2c 20 63 50 61 73 74 65 |', owner|, cPaste|
|00001ba0| 29 20 3c 3e 20 4e 6f 45 | 72 72 20 74 68 65 6e 20 |) <> NoE|rr then |
|00001bb0| 7b 65 72 72 6f 72 20 68 | 61 6e 64 6c 69 6e 67 7d |{error h|andling}|
|00001bc0| 0d 09 09 09 09 09 3b 0d | 09 09 09 09 6b 69 6c 6c |......;.|....kill|
|00001bd0| 50 69 63 74 75 72 65 28 | 70 69 63 29 3b 0d 09 09 |Picture(|pic);...|
|00001be0| 09 09 70 69 63 20 3a 3d | 20 6e 69 6c 3b 0d 09 09 |..pic :=| nil;...|
|00001bf0| 09 65 6e 64 3b 0d 09 09 | 09 6f 74 68 65 72 77 69 |.end;...|.otherwi|
|00001c00| 73 65 0d 09 09 65 6e 64 | 3b 7b 63 61 73 65 7d 0d |se...end|;{case}.|
|00001c10| 09 65 6e 64 3b 0d 0d 70 | 72 6f 63 65 64 75 72 65 |.end;..p|rocedure|
|00001c20| 20 47 65 6e 65 72 69 63 | 45 64 69 74 3b 20 7b 28 | Generic|Edit; {(|
|00001c30| 74 68 65 69 74 65 6d 20 | 3a 20 69 6e 74 65 67 65 |theitem |: intege|
|00001c40| 72 29 7d 0d 09 7b 44 65 | 66 61 75 6c 74 20 65 64 |r)}..{De|fault ed|
|00001c50| 69 74 20 6d 65 6e 75 20 | 41 63 74 69 6f 6e 3b 20 |it menu |Action; |
|00001c60| 73 75 70 70 6f 72 74 73 | 20 6f 6e 6c 79 20 77 69 |supports| only wi|
|00001c70| 6e 64 6f 77 73 20 77 69 | 74 68 20 72 65 67 69 73 |ndows wi|th regis|
|00001c80| 74 65 72 65 64 20 70 69 | 63 74 75 72 65 73 7d 0d |tered pi|ctures}.|
|00001c90| 0d 09 76 61 72 0d 09 09 | 63 6d 64 3a 20 63 6d 64 |..var...|cmd: cmd|
|00001ca0| 6e 75 6d 62 65 72 3b 0d | 09 09 6f 6c 64 70 69 63 |number;.|..oldpic|
|00001cb0| 2c 20 70 69 63 3a 20 50 | 69 63 48 61 6e 64 6c 65 |, pic: P|icHandle|
|00001cc0| 3b 0d 09 09 73 61 66 65 | 70 6f 72 74 3a 20 67 72 |;...safe|port: gr|
|00001cd0| 61 66 70 74 72 3b 0d 09 | 09 73 3a 20 53 74 72 32 |afptr;..|.s: Str2|
|00001ce0| 35 35 3b 0d 09 09 6d 79 | 73 65 6c 66 3a 20 70 74 |55;...my|self: pt|
|00001cf0| 72 3b 0d 09 09 74 65 6d | 70 66 72 6f 6e 74 77 69 |r;...tem|pfrontwi|
|00001d00| 6e 64 6f 77 3a 20 77 69 | 6e 64 6f 77 70 74 72 3b |ndow: wi|ndowptr;|
|00001d10| 0d 09 62 65 67 69 6e 0d | 09 09 67 65 74 70 6f 72 |..begin.|..getpor|
|00001d20| 74 28 73 61 66 65 70 6f | 72 74 29 3b 0d 09 09 74 |t(safepo|rt);...t|
|00001d30| 65 6d 70 46 72 6f 6e 74 | 57 69 6e 64 6f 77 20 3a |empFront|Window :|
|00001d40| 3d 20 66 72 6f 6e 74 57 | 69 6e 64 6f 77 3b 7b 32 |= frontW|indow;{2|
|00001d50| 36 2e 31 31 2e 31 39 39 | 30 20 30 3a 34 38 3a 34 |6.11.199|0 0:48:4|
|00001d60| 37 20 55 68 72 09 67 73 | 09 7d 0d 09 09 69 66 20 |7 Uhr.gs|.}...if |
|00001d70| 74 65 6d 70 46 72 6f 6e | 74 57 69 6e 64 6f 77 20 |tempFron|tWindow |
|00001d80| 3c 3e 20 6e 69 6c 20 74 | 68 65 6e 0d 09 09 62 65 |<> nil t|hen...be|
|00001d90| 67 69 6e 0d 09 09 09 73 | 65 74 70 6f 72 74 28 74 |gin....s|etport(t|
|00001da0| 65 6d 70 46 72 6f 6e 74 | 57 69 6e 64 6f 77 29 3b |empFront|Window);|
|00001db0| 0d 09 09 09 6d 79 73 65 | 6c 66 20 3a 3d 20 70 74 |....myse|lf := pt|
|00001dc0| 72 28 74 65 6d 70 46 72 | 6f 6e 74 57 69 6e 64 6f |r(tempFr|ontWindo|
|00001dd0| 77 29 3b 0d 0d 09 09 09 | 63 6d 64 20 3a 3d 20 74 |w);.....|cmd := t|
|00001de0| 68 65 69 74 65 6d 20 2b | 20 63 65 64 69 74 62 61 |heitem +| ceditba|
|00001df0| 73 65 20 2d 20 31 3b 0d | 09 09 09 6f 6c 64 70 69 |se - 1;.|...oldpi|
|00001e00| 63 20 3a 3d 20 47 65 74 | 77 69 6e 64 6f 77 70 69 |c := Get|windowpi|
|00001e10| 63 28 74 65 6d 70 46 72 | 6f 6e 74 57 69 6e 64 6f |c(tempFr|ontWindo|
|00001e20| 77 29 3b 0d 09 09 09 70 | 69 63 20 3a 3d 20 6f 6c |w);....p|ic := ol|
|00001e30| 64 70 69 63 3b 0d 09 09 | 09 47 65 6e 65 72 69 63 |dpic;...|.Generic|
|00001e40| 50 69 63 74 45 64 69 74 | 28 70 69 63 2c 20 6d 79 |PictEdit|(pic, my|
|00001e50| 73 65 6c 66 2c 20 63 6d | 64 29 3b 0d 0d 09 09 09 |self, cm|d);.....|
|00001e60| 69 66 20 70 69 63 20 3c | 3e 20 6f 6c 64 70 69 63 |if pic <|> oldpic|
|00001e70| 20 74 68 65 6e 0d 09 09 | 09 62 65 67 69 6e 0d 09 | then...|.begin..|
|00001e80| 09 09 09 73 65 74 77 69 | 6e 64 6f 77 70 69 63 28 |...setwi|ndowpic(|
|00001e90| 74 65 6d 70 46 72 6f 6e | 74 57 69 6e 64 6f 77 2c |tempFron|tWindow,|
|00001ea0| 20 70 69 63 29 3b 0d 09 | 09 09 09 77 69 74 68 20 | pic);..|...with |
|00001eb0| 74 65 6d 70 46 72 6f 6e | 74 57 69 6e 64 6f 77 5e |tempFron|tWindow^|
|00001ec0| 20 64 6f 0d 09 09 09 09 | 62 65 67 69 6e 0d 09 09 | do.....|begin...|
|00001ed0| 09 09 09 65 72 61 73 65 | 72 65 63 74 28 70 6f 72 |...erase|rect(por|
|00001ee0| 74 72 65 63 74 29 3b 0d | 09 09 09 09 09 69 6e 76 |trect);.|.....inv|
|00001ef0| 61 6c 72 65 63 74 28 70 | 6f 72 74 72 65 63 74 29 |alrect(p|ortrect)|
|00001f00| 3b 20 0d 09 09 09 09 65 | 6e 64 3b 0d 09 09 09 65 |; .....e|nd;....e|
|00001f10| 6e 64 3b 0d 09 09 09 73 | 65 74 70 6f 72 74 28 73 |nd;....s|etport(s|
|00001f20| 61 66 65 70 6f 72 74 29 | 3b 0d 09 09 65 6e 64 3b |afeport)|;...end;|
|00001f30| 0d 09 65 6e 64 3b 0d 0d | 65 6e 64 2e 00 00 00 00 |..end;..|end.....|
|00001f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f80| 00 00 01 00 00 00 02 c8 | 00 00 01 c8 00 00 00 76 |........|.......v|
|00001f90| 4f 41 44 7d 0d 09 53 74 | 64 54 6f 6f 6c 73 3b 0d |OAD}..St|dTools;.|
|00001fa0| 09 09 0d 09 43 4f 4e 53 | 54 20 20 20 20 7b 20 4d |....CONS|T { M|
|00001fb0| 09 67 65 6e 65 72 69 63 | 2e 70 02 00 00 00 54 45 |.generic|.p....TE|
|00001fc0| 58 54 4d 50 53 20 01 00 | ff ff ff ff 00 00 00 00 |XTMPS ..|........|
|00001fd0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 9e 7c 84 64 00 00 | 1e bc 00 00 03 3e 6e 75 |...|.d..|.....>nu|
|00002000| 20 49 44 2e 20 7d 0d 09 | 09 6d 45 64 69 74 20 3d | ID. }..|.mEdit =|
|00002010| 20 33 3b 09 20 20 20 20 | 20 7b 20 45 64 69 74 20 | 3;. | { Edit |
|00002020| 6d 65 6e 75 20 49 44 2e | 20 7d 0d 0d 09 50 52 4f |menu ID.| }...PRO|
|00002030| 43 45 44 55 52 45 20 47 | 65 6e 65 72 69 63 41 70 |CEDURE G|enericAp|
|00002040| 70 6c 65 20 28 74 68 65 | 69 74 65 6d 20 3a 20 69 |ple (the|item : i|
|00002050| 6e 74 65 67 65 72 29 3b | 0d 0d 09 50 52 4f 43 45 |nteger);|...PROCE|
|00002060| 44 55 52 45 20 53 65 74 | 55 70 54 68 65 4d 65 6e |DURE Set|UpTheMen|
|00002070| 75 73 3b 0d 09 50 52 4f | 43 45 44 55 52 45 20 47 |us;..PRO|CEDURE G|
|00002080| 00 00 00 29 01 01 80 00 | 00 00 03 31 2e 30 1e 34 |...)....|...1.0.4|
|00002090| 2e 34 64 31 20 a9 53 74 | 61 74 4c 61 62 20 48 65 |.4d1 .St|atLab He|
|000020a0| 69 64 65 6c 62 65 72 67 | 20 31 39 38 38 00 00 00 |idelberg| 1988...|
|000020b0| 78 00 03 00 00 00 48 00 | 48 00 00 00 00 03 0d 02 |x.....H.|H.......|
|000020c0| 1a ff e2 ff e4 03 2b 02 | 36 03 47 05 7b 03 de 00 |......+.|6.G.{...|
|000020d0| 02 00 00 00 48 00 48 00 | 00 00 00 03 0d 02 1a 00 |....H.H.|........|
|000020e0| 01 00 00 00 64 00 00 00 | 01 00 01 01 01 00 02 00 |....d...|........|
|000020f0| 01 27 0f 00 01 00 01 00 | 00 00 00 00 00 00 00 00 |.'......|........|
|00002100| 00 00 00 00 02 00 19 01 | 90 00 00 00 00 00 40 00 |........|......@.|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 48 00 09 4d |........|....H..M|
|00002130| 6f 6e 61 63 6f 00 6f 77 | 3b 7b 74 6f 20 68 65 6c |onaco.ow|;{to hel|
|00002140| 70 20 4c 53 50 31 2e 31 | 7d 0d 09 09 09 77 69 00 |p LSP1.1|}....wi.|
|00002150| 06 00 04 00 29 00 06 01 | 6a 01 3d 00 29 00 06 01 |....)...|j.=.)...|
|00002160| 6a 01 3d a5 c0 3e 7b 00 | 00 03 e2 00 00 03 e2 00 |j.=..>{.|........|
|00002170| 00 02 2e 01 00 00 00 00 | 7e 00 05 00 00 0b a0 00 |........|~.......|
|00002180| 00 0b b0 11 47 65 6e 65 | 72 69 63 4d 6f 75 73 65 |....Gene|ricMouse|
|00002190| 64 6f 77 6e 00 00 00 0d | 5b 00 00 0d 6c 11 47 65 |down....|[...l.Ge|
|000021a0| 6e 65 72 69 63 47 72 6f | 77 77 69 6e 64 6f 77 00 |nericGro|wwindow.|
|000021b0| 00 0e 45 00 00 0e 52 0d | 47 65 6e 65 72 69 63 47 |..E...R.|GenericG|
|000021c0| 6f 61 77 61 79 00 00 0e | be 00 00 0e cd 0f 47 65 |oaway...|......Ge|
|000021d0| 6e 65 72 69 63 41 63 74 | 69 76 61 74 65 00 00 0f |nericAct|ivate...|
|000021e0| 01 00 00 0f 12 11 47 65 | 6e 65 72 69 63 44 65 61 |......Ge|nericDea|
|000021f0| 63 74 69 76 61 74 65 00 | 00 00 1e 00 29 00 06 01 |ctivate.|....)...|
|00002200| 6a 01 3d 00 29 00 06 01 | 6a 01 3d 00 00 02 2e 00 |j.=.)...|j.=.....|
|00002210| 00 00 00 00 00 00 00 00 | 00 00 00 00 2b 01 23 80 |........|....+.#.|
|00002220| 00 00 00 05 31 2e 32 2e | 33 1e 31 2e 32 2e 33 a9 |....1.2.|3.1.2.3.|
|00002230| 31 39 39 31 54 68 65 20 | 4e 65 74 57 6f 72 6b 20 |1991The |NetWork |
|00002240| 50 72 6f 6a 65 63 74 20 | 00 00 01 00 00 00 02 c8 |Project |........|
|00002250| 00 00 01 c8 00 00 00 76 | 00 48 3c 78 08 d2 00 00 |.......v|.H<x....|
|00002260| 00 1c 00 76 00 01 4d 50 | 53 52 00 03 00 12 76 65 |...v..MP|SR....ve|
|00002270| 72 73 00 01 00 42 03 ee | ff ff 00 00 00 2d 00 00 |rs...B..|.....-..|
|00002280| 00 00 03 ed ff ff 00 00 | 00 a9 00 00 00 00 03 ef |........|........|
|00002290| ff ff 00 00 00 f5 00 00 | 00 00 03 f0 ff ff 00 00 |........|........|
|000022a0| 01 77 00 00 00 00 00 01 | ff ff 00 00 00 00 00 00 |.w......|........|
|000022b0| 00 00 00 02 ff ff 20 00 | 01 99 00 48 37 d0 00 00 |...... .|...H7...|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+